﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package com.fminutes.vinciNet {
    import flash.events.*;

    public class DataEvent extends Event {

        public static const ERROR_DATA:String = "error_data";

        private var _data:Object;
        private var _key:String;

        public function DataEvent(_arg1:String, _arg2:Object, _arg3:String){
            super(_arg1, false, false);
            this._data = _arg2;
            this._key = _arg3;
        }
        public function get data():Object{
            return (this._data);
        }
        public function set data(_arg1:Object):void{
            this._data = _arg1;
        }
        public function get key():String{
            return (this._key);
        }
        public function set key(_arg1:String):void{
            this._key = _arg1;
        }
        public function getNewDataEvent(_arg1:String=null):DataEvent{
            if (_arg1 == null){
                _arg1 = this.type;
            };
            return (new DataEvent(_arg1, this.data, this.key));
        }

    }
}//package com.fminutes.vinciNet 
